package com.oj.friend.domain.exam;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.oj.common.mybatis.domain.BaseEntity;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @Description
 * @Author bin
 * @Date 2025/5/6
 */
@Data
@TableName("tb_exam")
public class Exam extends BaseEntity {

//    @JsonFormat(shape = JsonFormat.Shape.STRING)
    @TableId(value = "exam_id",type = IdType.ASSIGN_ID)
    private Long examId; // 将来对列表中的item项目进行操作都需要这种id

    @TableField(value = "title")
    private String title;


    private LocalDateTime startTime;


    private LocalDateTime endTime;


    private Integer status;

}
